<h1>Tipo vehiculos List</h1>

<table>
    <thead>
        <tr>
            <th>Nombre</th>
            <th>Acciones</th>
        </tr>
    </thead>
    <tbody>
        <?php foreach ($tipo_vehiculos as $tv): ?>
            <tr>
                <td><?php echo $tv->getNombre() ?></td>
                <td><a href='<?php echo url_for("tipovehiculo/edit?id=".$tv->getId()) ?>'><img src='/images/modificar.png'></a>
                    <a href='<?php echo url_for("tipovehiculo/delete?id=".$tv->getId()) ?>'><img src='/images/eliminar.png'></a>
                
                </td>
            </tr>
        <?php endforeach; ?>
    </tbody>
</table>
<table>
    <thead>
        <tr>
            <th>Nombre</th>
            <th>Acciones</th>
        </tr>
    </thead>
    <tbody>
        <?php foreach ($calle as $c): ?>
            <tr>
                <td><?php echo $c->getNombre() ?></td>
                
                
            </tr>
        <?php endforeach; ?>
    </tbody>
</table>

<a href="<?php echo url_for('tipovehiculo/new') ?>">New</a>
